﻿<Window x:Class="Dashpart_Manager.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="261.033" Width="695.561">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="125"/>
            <ColumnDefinition Width="125"/>
            <ColumnDefinition Width="125"/>
            <ColumnDefinition Width="125"/>
            <ColumnDefinition Width="135"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="50"/>
            <RowDefinition Height="25"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <ComboBox Name="cmbSelectEmployee" HorizontalAlignment="Center" Grid.Row="0" Grid.Column="1" VerticalAlignment="Center" Width="120"  Height="22" SelectionChanged="cmbSelectEmployee_SelectionChanged" Margin="4,14,1,14"/>
        <ComboBox Name="cmbSelectDashPart" HorizontalAlignment="Center" Grid.Row="0" Grid.Column="3" VerticalAlignment="Center"  Width="120" Height="22" Margin="4,14,1,14" />
        <Label Content="Select Employee" HorizontalAlignment="Center" Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" Margin="15,12,14,12" Height="26" Width="96"/>
        <Label Content="Dash Part:" HorizontalAlignment="Center" Grid.Column="2" Grid.Row="0" VerticalAlignment="Center" Margin="34,12,29,12" Height="26" Width="62"/>

        <Label Content="Select Employee to copy to:" HorizontalAlignment="Right" Grid.ColumnSpan="3" Grid.Row="2" Grid.Column="0" VerticalAlignment="Center" Margin="0,12,123,12" Height="26" Width="157" />
        <ComboBox Name="cmbCopyToEmployee" HorizontalAlignment="Center" Grid.Row="2" Grid.Column="2"  VerticalAlignment="Center" Width="120"  Height="22" Margin="5,14,0,14" />
        <Button Content="Copy to Employee" Grid.Column="3" HorizontalAlignment="Center"  Grid.Row="2" VerticalAlignment="Center" Click="btnCopyToEmployee_Click" Margin="15,15,8,15" Height="20" Width="102" />
        <Button Content="Remove from Employee" Grid.Column="4" HorizontalAlignment="Center"  Grid.Row="2" VerticalAlignment="Center"  Height="20" Width="135" Click="btnRemovefromEmp_Clic" />

        <Label Content="Select Role to copy to:" HorizontalAlignment="Right" Grid.ColumnSpan="3" Grid.Column="0" Grid.Row="3" VerticalAlignment="Center" Margin="0,12,123,12" Height="26" Width="128"  />
        <ComboBox Name="cmbCopyToRole" HorizontalAlignment="Center" Grid.Row="3" Grid.Column="2" VerticalAlignment="Center"  Width="120" Height="22" Margin="5,14,0,14"/>
        <Button Content="Copy to entire Role" Grid.Column="3" HorizontalAlignment="Center"  Grid.Row="3" VerticalAlignment="Center" Click="btnCopyToRole_Click" Margin="13.2,18,6.4,11.6" Height="20" Width="106"/>
        <Button Content="Remove from Role" Grid.Column="4" HorizontalAlignment="Center"  Grid.Row="3" VerticalAlignment="Center" Click="btnRemoveRole_Click" Height="20" Width="106"/>

        <CheckBox Content="Active Only"  Grid.Column="4" VerticalAlignment="Center" HorizontalAlignment="Center" Name="chkActiveOnly" Checked="chkActiveOnly_Checked"  Height="15" Width="80" />
        <Button Content="Set Database" Grid.Column="0" HorizontalAlignment="Center"  Grid.Row="4" VerticalAlignment="Center" Click="btnSetDB_Click" Height="20" Width="106"/>
        <!--<Button Name="btnConnectDB" Content="Connect Database" Grid.Column="1" HorizontalAlignment="Center" Height="20"  Grid.Row="4" VerticalAlignment="Center" Width="110" Click="btnConnectDB_Click"/>-->

    </Grid>
</Window>
